@layout("/backend/common/_container.html"){
<div class="row row-lg">
    <div class="col-sm-12">
        <div class="dhcc-con dhcc-con-boder">
            <div class="dhcc-con-left">
                <#InputCon id="resourceName" name="资源名称" />
                <#InputCon id="level" name="层级" />
                <#Button name="查询" icon="fa fa-search" clickFun="Resource.search()"/>
            </div>
        </div>
        <div class="hidden-xs" id="resourceTableToolbar" role="group">
            @if(shiro.hasPermission("backend:resource:add")){
                <#Button name="新增" btnCss="l-bt-green" icon="fa fa-plus" clickFun="Resource.add()"/>
            @}
            @if(shiro.hasPermission("backend:resource:update")){
                <#Button name="修改" icon="fa fa-edit" clickFun="Resource.edit()" space="true"/>
            @}
            @if(shiro.hasPermission("backend:resource:delete")){
                <#Button name="删除" btnCss="l-bt-red" icon="fa fa-remove" clickFun="Resource.del()" space="true"/>
            @}
        </div>
        <#Table id="resourceTable"/>
    </div>
</div>
<script src="${ctxPath}/static/backend/system/resource/backend/resource.js"></script>
@}
